
<div id="lookMessageContainer" class="mainContent2">
  <!-- <div class="pointer hover positionFixHeader" {{action 'back'  on="click"}}>
     返回
  </div> -->
<div class="wrapperInner">
  <div class="itemLine2 paddinglrb">
    {{log "lookMessage is" lookMessage}}
    {{#each lookMessage as |message|}}
    <div class="row itemLine">
      <div class="col-xs-12 col-sm-12 col-md-12">
        {{#if (eq theSelf message.fromUser.id)}}
        <ul class="inlineBlock width82">
          <li class="weightbold text-right"><span class="fontWeight icon-init font12">
            {{message.definiteTime}}</span></li>
          {{#if (eq message.typeNum 1)}}
          <li class="text-right">{{message.content}}</li>
          {{/if}}
          {{#if (eq message.typeNum 2)}}
          <li class="text-right">{{message.contentShow}}</li>
          {{/if}}
        </ul>
        <i class="inlineBlock pull-right dropdown borderRadius">
          {{#ui/img-intergration name="headImg"
          imgSrc=message.fromUser.avatarUrl width=48 height=48
          businessType=constants.uploadBusinessType_headimg}}
          {{/ui/img-intergration}}
        </i>
        {{else}}
        <i class="inlineBlock floatLeft dropdown borderRadius">
          {{#ui/img-intergration name="headImg"
          imgSrc=message.fromUser.avatarUrl width=48 height=48
          businessType=constants.uploadBusinessType_headimg}}
          {{/ui/img-intergration}}
        </i>
        <ul class="inlineBlock width82">
          <li class="weightbold"><span class="fontWeight icon-init font12">
            {{message.definiteTime}}</span></li>
          {{#if (eq message.typeNum 1)}}
          <li>{{message.content}}</li>
          {{/if}}
          {{#if (eq message.typeNum 2)}}
          <li>{{message.contentShow}}</li>
          {{/if}}
        </ul>
        {{/if}}

      </div>
    </div>
    {{/each}}
  </div>

</div>
</div>
<div class="positionFixFooter width1">
    {{input type="text" value=content class="inlineBlock talkMessage" placeholder=""}}
    {{#ui/the-button  theClass="btn btn-turquoise pull-right sendMessage"
    clickAction="sendMessage" sendMessage="sendMessage" text="发送"}}
    {{/ui/the-button}}
    <!-- <input type="button" class="btn btn-turquoise pull-right sendMessage" value="发送" {{action 'sendMessage' on="tap"}}> -->
</div>
{{ui/container/infinite-scroll moniteData="lookMessage" didUpdateAction="didUpdate" didInsertElementAction="didInsertElement"}}
